//
//  XMShareView.h
//  XMShare
//
//  Created by Amon on 15/8/6.
//  Copyright (c) 2015年 GodPlace. All rights reserved.
//

#import <UIKit/UIKit.h>

@class VerticalUIButton;

//  分享类型
typedef NS_ENUM(NSInteger, SHARE_ITEM){
    //  微信会话
    SHARE_ITEM_WEIXIN_SESSION,
    //  微信朋友圈
    SHARE_ITEM_WEIXIN_TIMELINE,
};

@interface XMShareView : UIView
{
    //  图片项
    NSMutableArray *iconList;
    //  文字项
    NSMutableArray *textList;
}

+ (XMShareView *)showShareViewWithBlock:(void(^)(NSString * shareType))block;

+ (void)shareWithTitle:(NSString *)title content:(NSString *)content url:(NSString *)url image:(UIImage *)image type:(SHARE_ITEM)type;
@end

